*Replication codes for "Peacekeeping Operations and Shadow Economy Growth in Host Countries," Blanton and Peksen, CMPS
 
*Table 1
xtreg is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, fe
xtreg is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, fe
xtreg is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, fe

*Table 2
xtreg is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend, fe
xtreg is100growth postpkdummyyears postpkdummyyearsq  lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend, fe

*Figure 1
xtreg is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, fe
margins, at((mean) _all lagpriominorconflict=0 lagpriomajorconflict=0 lnbconflict=0 llPKObudget=(0(1)7))
 
*Figure 2
xtreg is100growth c.lpkyears##c.lpkyears  lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend, fe
margins, at((mean) _all lagpriominorconflict=0 lagpriomajorconflict=0 lnbconflict=0 lpkyears=(0(5)40))

*Figure 3
xtreg is100growth c.postpkdummyyears##c.postpkdummyyears  lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend, fe
margins, at((mean) _all lagpriominorconflict=0 lagpriomajorconflict=0 lnbconflict=0 postpkdummyyears=(0(5)40))


****APPENDIX MODELS*****

*Table A1
xtabond2 is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust
xtabond2 is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust
xtabond2 is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust

*Table A2
xtabond2 is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust
xtabond2 is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust

*Table A3
xtabond2 medschneidergrowth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(medschneidergrowth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust
xtabond2 medschneidergrowth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(medschneidergrowth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust
xtabond2 medschneidergrowth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(medschneidergrowth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust
xtabond2 medschneidergrowth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(medschneidergrowth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust
xtabond2 medschneidergrowth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(medschneidergrowth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust


*Table A4 Non-OECD
xtabond2 is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust, if oecd==0
xtabond2 is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust, if oecd==0
xtabond2 is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust, if oecd==0
xtabond2 is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust, if oecd==0
xtabond2 is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, gmm(is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, eq(level)) twostep ortho pca robust, if oecd==0

*Table A6 Models with Region dummies and colonial past
xtabond2 is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , gmm(is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , eq(level)) twostep ortho pca robust
xtabond2 is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , gmm(is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , eq(level)) twostep ortho pca robust
xtabond2 is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , gmm(is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , eq(level)) twostep ortho pca robust
xtabond2 is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , gmm(is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , eq(level)) twostep ortho pca robust
xtabond2 is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , gmm(is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend asia lamerica nafrme ssafrica , eq(level)) twostep ortho pca robust

*Table A7 - Models with Colonial Past
xtabond2 is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, gmm(is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, eq(level)) twostep ortho pca robust
xtabond2 is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, gmm(is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, eq(level)) twostep ortho pca robust
xtabond2 is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, gmm(is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, eq(level)) twostep ortho pca robust
xtabond2 is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, gmm(is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, eq(level)) twostep ortho pca robust
xtabond2 is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, gmm(is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend colbrit colfra, eq(level)) twostep ortho pca robust


*Table A8 - Models with Agriculture Dummy
xtabond2 is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, gmm(is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, eq(level)) twostep ortho pca robust
xtabond2 is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, gmm(is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, eq(level)) twostep ortho pca robust
xtabond2 is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, gmm(is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, eq(level)) twostep ortho pca robust
xtabond2 is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, gmm(is100growth lpkyears lpkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, eq(level)) twostep ortho pca robust
xtabond2 is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, gmm(is100growth postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict, lag(1 1)) iv(laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend agric, eq(level)) twostep ortho pca robust

*Table A9 Summary Statistics
xtreg is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend , fe
sum is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend if e(sample)
*Trans vs Trad PKOs
xtreg is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend , fe
sum lPKOtrad lPKOtrans if e(sample)
*PK BUDGET
xtreg is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend , fe
sum llPKObudget if e(sample)
*PK years
xtreg is100growth pkyears pkyearsq postpkdummyyears postpkdummyyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend , fe
sum pkyears pkyearsq postpkdummyyears postpkdummyyearsq if e(sample)

*Table A10 
xtreg is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lis100growth lagis100 , fe
sort ccode year

*Table A5
preserve
qui xtreg is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend , fe
keep if e(sample)

set seed 1
gen random1 = uniform()
sort random1

qui psmatch2 pkdummy is100growth lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend, noreplacement descending
xtset ccode year

xtreg is100growth lpkdummy lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend  if _weight==1, fe
xtreg is100growth lPKOtrad lPKOtrans lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend  if _weight==1, fe
xtreg is100growth llPKObudget lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared lsecondary trend  if _weight==1, fe
xtreg is100growth pkyears pkyearsq lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend if _weight==1, fe
xtreg is100growth postpkdummyyears postpkdummyyearsq  lagpriominorconflict lagpriomajorconflict lnbconflict laggdplog laginflation lagtrade lagpolity20 lagpolity20squared  lsecondary trend if _weight==1, fe
restore


